package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.pojo.ApplicationSortPoJo;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * ApplicationAddVO
 *
 * @author kaka
 * @time 2018-7-30 16:31
 */
@Setter
@Getter
@ToString
public class ApplicationSortDTO extends BaseDTO {

    private static final long serialVersionUID = 3035748788541369920L;

    /**
     * 排序参数
     */
    @Valid
    @NotEmpty(message = "{dto.msg.applicationSort.appSort.NotEmpty}")
    private List<ApplicationSortPoJo> appSort;

}
